﻿using System;
using System.Collections.Generic;
//using Petra.Gis.ReferenceSystemServices.Transformations;
//using System.Linq;
//using System.Text;
using System.Windows.Markup;
using Petra.Gis.Support;
using System.Runtime.Serialization;

namespace Petra.Gis.DocumentServices
{

  /// <summary>
  /// represents GIS project, that keeps all
  /// user defined data connections, queries, maps, ...
  /// </summary>
  [DataContract]
  public class Project
  {

    public Project()
    {
      ////_xDoc = new Project();
      //_DbConnections = new DbConnectionPool();
      //_cmds = new DbCommandPool();
      ////_transforms = new SRSTransformPool();
      //_maps = new MapPool();

      this.ProjectPersistables = new ProjectEnvironmentPersistables();
      this.DataConnections = new DataConnectionPool();
      this.DataCommands = new DataCommandPool();
      this.Metadata = new ProjectMetadata();
      
    }






    public ProjectMetadata Metadata
    { get; set; }






    public ProjectEnvironmentPersistables ProjectPersistables
    { get; set; }




    //protected DbConnectionPool _DbConnections;

    public DataConnectionPool DataConnections
    { get; set; }





    //protected DbCommandPool _cmds;

    public DataCommandPool DataCommands
    { get; set; }



    //protected MapPool _maps;


    //public MapPool Maps
    //{
    //  get { return _maps; }
    //  set { _maps = value; }
    //}





    //protected SRSTransformPool _transforms;


    //public SRSTransformPool Transforms
    //{
    //  get { return _transforms; }
    //  set { _transforms = value; }
    //}










  }
}
